package de.tum.in.eist.poll.client.Model;

import java.io.Serializable;

import javax.jdo.annotations.IdGeneratorStrategy;
import javax.jdo.annotations.Inheritance;
import javax.jdo.annotations.InheritanceStrategy;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;


@SuppressWarnings("serial")
@PersistenceCapable(detachable="true")
public class Rating implements Serializable{
	
	@Persistent
	private int rating;
	
	protected Rating() {
		
	}
	
	public Rating(int rating) {
		this.rating = rating;
	}
	
	public int getRating() {
		return rating;
	}
}
